package cc.idoone.codegen.config;

/**
 * @auther hemj
 * @since 2021/9/7
 */
public class MapperConfig {
	/**
	 * 生成 BaseResultMap
	 */
	private boolean genResultMap;
	/**
	 * 生成 Base_Where_Clause
	 */
	private boolean enableCamelCase;
	/**
	 * 生成 base_column_list, base_where_clause
	 */
	private boolean enableUnderScoreCase;
	/**
	 * returnType 使用全称或别名
	 */
	private boolean enableEntityAlias;

	public boolean isGenResultMap() {
		return genResultMap;
	}

	public void setGenResultMap(boolean genResultMap) {
		this.genResultMap = genResultMap;
	}

	public boolean isEnableCamelCase() {
		return enableCamelCase;
	}

	public void setEnableCamelCase(boolean enableCamelCase) {
		this.enableCamelCase = enableCamelCase;
	}

	public boolean isEnableUnderScoreCase() {
		return enableUnderScoreCase;
	}

	public void setEnableUnderScoreCase(boolean enableUnderScoreCase) {
		this.enableUnderScoreCase = enableUnderScoreCase;
	}

	public boolean isEnableEntityAlias() {
		return enableEntityAlias;
	}

	public void setEnableEntityAlias(boolean enableEntityAlias) {
		this.enableEntityAlias = enableEntityAlias;
	}
}
